Display screen or portion thereof with an animated graphical user interface



FIG. 1 is a front view of an electronic device having a display screen or portion thereof with an animated graphical user interface showing a first image in the sequence showing our new design;

FIG. 2 is a second image thereof;

FIG. 3 is a third image thereof;

FIG. 4 is a fourth image thereof;

FIG. 5 is a fifth image thereof; and,

FIG. 6 is a sixth image thereof.

The outer dashed line rectangle illustrates an electronic device. The inner rectangle illustrates a display screen. The dashed lines form no part of the claimed design. The appearance of the animated image sequentially transitions between the images shown in FIGS. 1-6. The process or period in which one image transitions to another forms no part of the claimed design. 

CLAIM We claim the ornamental design for a display screen or portion thereof with a graphical user interface, as shown and described. 